package ooday04;

public class Chick extends Animal {
    Chick(String name,int age,String gender){
        super(name,age,gender);
    }
    @Override
    public void eat(){
        System.out.println(name+"喜欢吃虫子");
    }
    void layEgg(){
        System.out.println(name+"会下蛋");
    }
}
